package com.party.admin.web.dto.output.mall;

import com.party.core.model.mall.MallShowSubjectTemplate;
import org.springframework.beans.BeanUtils;

/**
 * 展示商品专题视图
 * Created by wei.li
 *
 * @date 2017/8/25 0025
 * @time 16:27
 */
public class MallShowSubjectTemplateOutput extends MallShowSubjectTemplate {

    //二维码
    private String qrCode;

    public String getQrCode() {
        return qrCode;
    }

    public void setQrCode(String qrCode) {
        this.qrCode = qrCode;
    }


    public static MallShowSubjectTemplateOutput transform(MallShowSubjectTemplate mallShowSubjectTemplate){
        MallShowSubjectTemplateOutput mallShowSubjectTemplateOutput = new MallShowSubjectTemplateOutput();
        BeanUtils.copyProperties(mallShowSubjectTemplate, mallShowSubjectTemplateOutput);
        return mallShowSubjectTemplateOutput;
    }
}
